<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
		 var a=[1,2,3,5];
		 a.push(100);
		 a.shift();
		 console.log(a);
		 var n=prompt("请输入一个数：");
		 if(n){
			 a.push(n);
		 }
		 console.log(a.join("#"));
		</script>
	</head>
	<body>
	</body>
</html>
